local sk_extra_draw = fk.CreateSkill {

  name = "sk_extra_draw",

  tags = {},

}

MarkEnum.SkDrawNCards = "SkDrawNCards"


sk_extra_draw:addEffect(fk.DrawNCards, {
  global = true,
  can_refresh = function(self, event, target, player, data)
    return target == player and player:getMark(MarkEnum.SkDrawNCards) ~= 0
  end,
  on_refresh = function(self, event, target, player, data)
    data.n = data.n + player:getMark(MarkEnum.SkDrawNCards)
  end,
})

return sk_extra_draw
